package cn.com.bluemoon.daps.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class ContrastTableInfo {

    @ApiModelProperty(value = "表id")
    private String id;

    @ApiModelProperty(value = "关联模型id")
    private String dataModelId;

    @ApiModelProperty(value = "表英文名")
    private String engName;

    @ApiModelProperty(value = "表中文名")
    private String name;

    @ApiModelProperty(value = "变更单号")
    private String changeOrder;

    @ApiModelProperty(value = "申请人")
    private String applicationBy;

    @ApiModelProperty(value = "发布时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime releaseTime;

    @ApiModelProperty(value = "字段列表")
    private List<ContrastFieldInfoDto> fieldList;

}
